<template>
    <div class="apply-container">
      <my-form form-class="form-withdraw" :model="withdrawInfo" :form-items="formItems" label-width="180px"></my-form>
    </div>
</template>

<script>
  const formItems = [{
    name: 'amount',
    label:'金额',
    type:'text',
    rule:{required: true, message: '请输入提款金额', trigger:'blur'}
  },{
    name: 'billingPeriod',
    label:'账期',
    type:'text',
    rule:{required: true, message: '请输入提款账期', trigger:'blur'}
  },{
    name: 'productId',
    label:'产品',
    type:'text',
    rule:{required: true, message: '请选择您的贷款产品', trigger:'blur'}
  },{
    name: 'attachment1',
    label:'出车信息表',
    type:'singleFile',
    rule:{required: true, message: '请上传出车信息表', trigger:'blur'}
  },{
    name: 'attachment2',
    label:'委运单',
    type:'singleFile',
    rule:{required: true, message: '请上传合同委运单资料'}
  }];
  import * as selectDatas from '../../../constants/select-datas';
  import MyForm from '../../../components/MyForm';
    export default {
        name: 'Withdraw',
        components:{
          MyForm
        },
        data() {
            return {
              formItems: formItems,
              withdrawInfo:{}
          }
        }
    }
</script>

<style lang="stylus" scoped>
  .form-withdraw
    width 600px
</style>
